package com.cs.contract.domain;


import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * @Author：zrx
 * @Package：com.cs.cscontract.domain
 * @Project：Ruoyi
 * @name：CsFramePlan
 * @Date：2024/11/22 16:38
 * @Filename：CsFramePlan
 */
public class CsFramePlan extends BaseEntity {
    private static final long serialVersionUID = -5262590782273298214L;
    @Excel(name = "框架计划ID")
    private Integer planId;
    @Excel(name = "框架协议ID")
    private Integer oid;
    @Excel(name = "框架计划编码")
    private String planCode;
    @Excel(name = "计划名称")
    private String planName;
    @Excel(name = "计划预算")
    private Long planBudget;
    @Excel(name = "创建部门")
    private Long deptId;
    @Excel(name = "计划状态")
    private Integer planStatus;
    @Excel(name = "审批人")
    private String planPerson;
    @Excel(name = "采购方式(数据字典)")
    private Integer planMethod;
    @Excel(name = "创建人")
    private String planFounder;
    @Excel(name = "供应商id")
    private Integer hid;
    @Excel(name = "业务类型")
    private Integer businessType;
    @Excel(name = "逻辑删除")
    private Integer isDeleted;
    @Excel(name = "备注")
    private String comments;

    private CsSupplier csSupplier;
    private CsPubAttachments csPubAttachments;
    /**
     * 行项目集合
     */
    private List<CsLineItems> items;

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public String getPlanCode() {
        return planCode;
    }

    public void setPlanCode(String planCode) {
        this.planCode = planCode;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    public Long getPlanBudget() {
        return planBudget;
    }

    public void setPlanBudget(Long planBudget) {
        this.planBudget = planBudget;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Integer getPlanStatus() {
        return planStatus;
    }

    public void setPlanStatus(Integer planStatus) {
        this.planStatus = planStatus;
    }

    public String getPlanPerson() {
        return planPerson;
    }

    public void setPlanPerson(String planPerson) {
        this.planPerson = planPerson;
    }

    public Integer getPlanMethod() {
        return planMethod;
    }

    public void setPlanMethod(Integer planMethod) {
        this.planMethod = planMethod;
    }

    public String getPlanFounder() {
        return planFounder;
    }

    public void setPlanFounder(String planFounder) {
        this.planFounder = planFounder;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public CsSupplier getCsSupplier() {
        return csSupplier;
    }

    public void setCsSupplier(CsSupplier csSupplier) {
        this.csSupplier = csSupplier;
    }

    public CsPubAttachments getCsPubAttachments() {
        return csPubAttachments;
    }

    public void setCsPubAttachments(CsPubAttachments csPubAttachments) {
        this.csPubAttachments = csPubAttachments;
    }

    public List<CsLineItems> getItems() {
        return items;
    }

    public void setItems(List<CsLineItems> items) {
        this.items = items;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("planId", planId)
                .append("oid", oid)
                .append("planCode", planCode)
                .append("planName", planName)
                .append("planBudget", planBudget)
                .append("deptId", deptId)
                .append("planStatus", planStatus)
                .append("planPerson", planPerson)
                .append("planMethod", planMethod)
                .append("planFounder", planFounder)
                .append("hid", hid)
                .append("businessType", businessType)
                .append("isDeleted", isDeleted)
                .append("comments", comments)
                .append("csSupplier", csSupplier)
                .append("csPubAttachments", csPubAttachments)
                .append("items", items)
                .toString();
    }
}
